package com.wingscode.modules.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 增值服务类型设置价格
 *
 * @author yan
 */
@Data
@TableName("added_setting_price")
public class AddedSettingPriceEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    private Integer id;
    /**
     * 增值服务id
     */
    @TableField("service_id")
    private Integer serviceId;
    /**
     * 增值服务设置id
     */
    @TableField("added_setting_id")
    private Integer addedSettingId;
    /**
     * 会员等级
     */
    @TableField("vip_level_id")
    private Integer vipLevelId;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 会员等级名称
     */
    @TableField(exist = false)
    private String vipName;
}
